package com.vrp3d.common.exceptions;

import com.vrp3d.common.enums.CommonExceptionEnum;

/**
 * 通用common异常信息类
 *
 * @author vrp3d
 */
public class CommonException extends BusinessException {

    private static String model = "_Common";

    public CommonException(CommonExceptionEnum commonExceptionEnum) {
        super(commonExceptionEnum.getCode(), commonExceptionEnum.getMsg(), model);
    }

    public CommonException(String code, String message) {
        super(code, message);
    }
}
